<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<{$Charset}>">
<title>商务室 - <{$sitetitle}></title>
<link href="<{$CSS_PATH}>css/style.css" rel="stylesheet" type="text/css">
<link href="<{$INC_PATH}>css/room.css" rel="stylesheet" type="text/css">
<script language="javascript" src="<{$INC_PATH}>js/prototype.js"></script>
<script>
function test(){
var form = $('listfrm') ;
var t = form.getInputs("checkbox");
var chked = 0;
for (i=0; i<t.length; i++)
{
	if($(t[i]).checked)
	chked++;
}
if(chked<=0){
	alert("您没有选中任何信息");
	return false;
}else{
	return true;
}
}
</script>
</head>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<table width="760" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
  <tr> 
    <td height="83"><{include file="default/element.top.html"}></td>
  </tr>
</table>
<table width="760" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
  <tr align="center" valign="top">
    <td width="180" align="center" background="<{$tpl_img_path}>office/left_bg.gif"><{include file="room/menu.html"}></td>
    <td><table  border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td><img src="<{$tpl_img_path}>office/banr_pic.gif" width=570 height=101 alt=""></td>
      </tr>
    </table>
      <table width="95%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td height="45" background="<{$tpl_img_path}>office/title_bg.gif"><table height="30" border="0" cellpadding="0" cellspacing="0">
              <tr>
                <td>&nbsp;</td>
                <td class="font14b_org"><img src="<{$tpl_img_path}>office/icon_newd.gif" width="15" height="16">我的供求信息 </td>
              </tr>
          </table></td>
        </tr>
        <tr>
          <td height="5" valign="top" class="bggray2"></td>
        </tr>
      </table>
      <table width="95%" border="0" cellpadding="2" cellspacing="0" class="bggray">
        <tr>
          <td height="35" class="orange">（<span class="gray">提示：</span>相同内容的信息请不要反复发布，建议使用重发功能!）</td>
        </tr>
        <tr>
          <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td><strong>您已经成功发布<span class="font14b_org"> <{$Amount}></span> 条<{$ActionName}>信息!</strong></td>
              <td align="right"><a title="发布<{$ActionName}>" href="tradeedit.php?action=mod&type=<{$smarty.get.type}>"><img src="<{$tpl_img_path}>office/post.gif" width="123" height="26" border="0"></a></td>
            </tr>
          </table></td>
        </tr>
      </table>      
      <br>
      <form name="listfrm" action="<{$smarty.server.PHP_SELF}>" method="post" onSubmit="return test();">
      <table width="95%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td><table width="100%" border="0" cellpadding="5" cellspacing="1" class="bglist">
            <tr align="center">
              <td><strong>类 型</strong></td>
              <td><strong>主 题</strong></td>
              <td><strong>到期时间</strong></td>
              <td><strong>状 态</strong></td>
              <td><strong>操作</strong></td>
              <td><strong>删 除</strong></td>
            </tr>
			<{foreach from=$tradelists item=t name=tlists }>
            <tr align="center" class="bgwhite">
              <td align="center" class="orange">【<{$TradeTypes[$t.trade_type]}>】</td>
              <td align="left"><a href="<{$SiteUrl}>offer/detail.php?id=<{$t.ID}>" title="预览<{$t.Name}>" target="_blank"><{$t.Name|truncate:21}></a><{if $t.picture!=""}>&nbsp;(图)<{/if}></td>
              <td align="center"><{if $t.TradeExpiretime<$smarty.server.REQUEST_TIME}>已过期<{else}><{$t.TradeExpiretime|date_format:"%Y-%m-%d"}><{/if}></td>
              <td align="center"><{$CheckStatus[$t.TradeStatus]}></td>
              <td align="center"><a href="tradeedit.php?action=mod&id=<{$t.ID}>">修改</a>&nbsp;&nbsp;<{if $t.TradeStatus==1}><a href="./trade.php?action=refresh&id=<{$t.ID}>" title="延长到期时间">重发</a>&nbsp;&nbsp;<a href="./trade.php?action=update&id=<{$t.ID}>" title="更新到网站">更新</a><{/if}></td>
              <td align="center"><input name="tradeid[]" type="checkbox" id="tradeid[]" value="<{$t.ID}>"></td>
            </tr>
			<{foreachelse}>
			<{/foreach}>
          </table></td>
        </tr>
        <tr>
          <td><table width="100%" height="35"  border="0" cellpadding="0" cellspacing="0">
            <tr>
              <td><div align="right">
                <input type="submit" name="del" value="删除选中的信息" onclick="return window.confirm('真的要删除这些信息吗？')">
              </div></td>
              </tr>
          </table></td>
        </tr>
        <tr>
          <td>&nbsp;</td>
        </tr>
        <tr>
          <td height="1" background="<{$tpl_img_path}>office/index_trade_line.gif"></td>
        </tr>
        <tr>
          <td><table align="center" width="100%" class="zi">
              <tr>
                <td align="center">&nbsp;<{$ByPages}></td>
                </tr>
          </table></td>
        </tr>
      </table>
      </form>
      <br>
      <br>
      <table width="95%"  border="0" cellpadding="3" cellspacing="1" bgcolor="#E8E8E8">
        <tr>
        <td bgcolor="#FFFFFF"><table width="100%"  border="0" cellpadding="5" cellspacing="0">
          <tr>
            <td class="bottom"> <strong>【请注意】：</strong> <BR>
      　1. 审核并生效后，商业信息才能使用重发功能。<BR>
      　2. 已经发布过的信息，请不要反复发布，一旦发现将被立即删除。<BR>
      　3. 请及时更新过期信息，不想重新上网的过期信息，请及时删除。<BR>
      　4. 如果是商务室 - <{$sitename}>，建议您每天用“重发”功能来更新信息，让信息排名靠前。<BR>
      　5. 修改商业信息只对信息内容作修改，并不会更新信息的排名。</td>
          </tr>
        </table></td>
        </tr>
    </table></td>
  </tr>
</table>
<{include file="room/foot.html"}>
</body>
</center>
 </html>

